MacBinary | 1990-09-04 | 1.5 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Sep 4 11:40:43 1990, modified Tue Sep 4 11:40:43 1990, creator 'MPS ', type ASCII, 995 bytes "WindowDefinition.h" , at 0x463 382 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 57 69 6e 64 6f 77 | 44 65 66 69 6e 69 74 69 |..Window|Definiti|
|00000010| 6f 6e 2e 68 00 00 00 00 | 00 00 00 00 00 00 00 00 |on.h....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 c0 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 03 e3 00 | 00 01 7e a3 09 7b 7b a3 |........|..~..{{.|
|00000060| 09 7b 7b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.{{.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 57 b0 00 00 |........|....W...|
|00000080| 2f 2a 0d 09 57 69 6e 64 | 6f 77 44 65 66 69 6e 69 |/*..Wind|owDefini|
|00000090| 74 69 6f 6e 2e 68 0d 09 | 0d 09 41 6e 20 61 62 73 |tion.h..|..An abs|
|000000a0| 74 72 61 63 74 20 62 61 | 73 65 20 63 6c 61 73 73 |tract ba|se class|
|000000b0| 20 66 6f 72 20 69 6d 70 | 6c 65 6d 65 6e 74 69 6e | for imp|lementin|
|000000c0| 67 20 57 69 6e 64 6f 77 | 20 44 65 66 69 6e 69 74 |g Window| Definit|
|000000d0| 69 6f 6e 0d 09 63 6f 64 | 65 20 72 65 73 6f 75 72 |ion..cod|e resour|
|000000e0| 63 65 73 20 69 6e 20 43 | 2b 2b 2e 0d 09 0d 09 62 |ces in C|++.....b|
|000000f0| 79 20 50 61 74 72 69 63 | 6b 20 43 2e 20 42 65 61 |y Patric|k C. Bea|
|00000100| 72 64 2e 0d 20 2a 2f 0d | 0d 23 69 66 6e 64 65 66 |rd.. */.|.#ifndef|
|00000110| 20 5f 5f 57 49 4e 44 4f | 57 44 45 46 49 4e 49 54 | __WINDO|WDEFINIT|
|00000120| 49 4f 4e 5f 5f 0d 23 64 | 65 66 69 6e 65 20 5f 5f |ION__.#d|efine __|
|00000130| 57 49 4e 44 4f 57 44 45 | 46 49 4e 49 54 49 4f 4e |WINDOWDE|FINITION|
|00000140| 5f 5f 0d 0d 23 69 66 6e | 64 65 66 20 5f 5f 57 49 |__..#ifn|def __WI|
|00000150| 4e 44 4f 57 53 5f 5f 0d | 23 69 6e 63 6c 75 64 65 |NDOWS__.|#include|
|00000160| 20 3c 57 69 6e 64 6f 77 | 73 2e 68 3e 0d 23 65 6e | <Window|s.h>.#en|
|00000170| 64 69 66 0d 0d 23 69 6e | 63 6c 75 64 65 20 22 52 |dif..#in|clude "R|
|00000180| 65 6c 6f 63 61 74 61 62 | 6c 65 2e 68 22 0d 0d 63 |elocatab|le.h"..c|
|00000190| 6c 61 73 73 20 57 69 6e | 64 6f 77 44 65 66 69 6e |lass Win|dowDefin|
|000001a0| 69 74 69 6f 6e 20 3a 20 | 70 75 62 6c 69 63 20 52 |ition : |public R|
|000001b0| 65 6c 6f 63 61 74 61 62 | 6c 65 20 7b 0d 70 75 62 |elocatab|le {.pub|
|000001c0| 6c 69 63 3a 0d 09 76 69 | 72 74 75 61 6c 20 76 6f |lic:..vi|rtual vo|
|000001d0| 69 64 20 4e 65 77 28 57 | 69 6e 64 6f 77 50 65 65 |id New(W|indowPee|
|000001e0| 6b 20 74 68 65 57 69 6e | 64 6f 77 29 09 09 09 09 |k theWin|dow)....|
|000001f0| 2f 2f 20 69 6e 69 74 69 | 61 6c 69 7a 65 20 77 69 |// initi|alize wi|
|00000200| 6e 64 6f 77 2e 0d 09 09 | 09 09 09 7b 20 69 74 73 |ndow....|...{ its|
|00000210| 57 69 6e 64 6f 77 20 3d | 20 74 68 65 57 69 6e 64 |Window =| theWind|
|00000220| 6f 77 3b 20 7d 0d 09 76 | 69 72 74 75 61 6c 20 76 |ow; }..v|irtual v|
|00000230| 6f 69 64 20 44 69 73 70 | 6f 73 65 28 29 20 7b 7d |oid Disp|ose() {}|
|00000240| 09 09 09 09 09 09 09 2f | 2f 20 64 65 73 74 72 6f |......./|/ destro|
|00000250| 79 20 77 69 6e 64 6f 77 | 2e 0d 09 76 69 72 74 75 |y window|...virtu|
|00000260| 61 6c 20 76 6f 69 64 20 | 43 61 6c 63 52 67 6e 73 |al void |CalcRgns|
|00000270| 28 29 20 7b 7d 09 09 09 | 09 09 09 09 2f 2f 20 63 |() {}...|....// c|
|00000280| 6f 6d 70 75 74 65 20 61 | 6c 6c 20 72 65 6c 65 76 |ompute a|ll relev|
|00000290| 61 6e 74 20 72 65 67 69 | 6f 6e 73 2e 0d 09 76 69 |ant regi|ons...vi|
|000002a0| 72 74 75 61 6c 20 76 6f | 69 64 20 44 72 61 77 46 |rtual vo|id DrawF|
|000002b0| 72 61 6d 65 28 29 20 7b | 7d 09 09 09 09 09 09 09 |rame() {|}.......|
|000002c0| 2f 2f 20 64 72 61 77 20 | 74 68 65 20 66 72 61 6d |// draw |the fram|
|000002d0| 65 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |e of the| window.|
|000002e0| 0d 09 76 69 72 74 75 61 | 6c 20 76 6f 69 64 20 44 |..virtua|l void D|
|000002f0| 72 61 77 47 6f 41 77 61 | 79 42 6f 78 28 29 20 7b |rawGoAwa|yBox() {|
|00000300| 7d 09 09 09 09 09 09 2f | 2f 20 64 72 61 77 20 74 |}....../|/ draw t|
|00000310| 68 65 20 67 6f 61 77 61 | 79 20 62 6f 78 20 28 74 |he goawa|y box (t|
|00000320| 6f 67 67 6c 65 20 73 74 | 61 74 65 29 2e 0d 09 76 |oggle st|ate)...v|
|00000330| 69 72 74 75 61 6c 20 76 | 6f 69 64 20 44 72 61 77 |irtual v|oid Draw|
|00000340| 47 49 63 6f 6e 28 29 20 | 7b 7d 09 09 09 09 09 09 |GIcon() |{}......|
|00000350| 09 2f 2f 20 64 72 61 77 | 20 77 69 6e 64 6f 77 27 |.// draw| window'|
|00000360| 73 20 67 72 6f 77 20 69 | 63 6f 6e 2e 0d 09 76 69 |s grow i|con...vi|
|00000370| 72 74 75 61 6c 20 76 6f | 69 64 20 44 72 61 77 47 |rtual vo|id DrawG|
|00000380| 72 6f 77 49 6d 61 67 65 | 28 52 65 63 74 26 20 67 |rowImage|(Rect& g|
|00000390| 72 6f 77 52 65 63 74 29 | 20 7b 7d 09 09 2f 2f 20 |rowRect)| {}..// |
|000003a0| 64 72 61 77 20 67 72 6f | 77 20 69 6d 61 67 65 20 |draw gro|w image |
|000003b0| 6f 66 20 77 69 6e 64 6f | 77 2e 0d 09 76 69 72 74 |of windo|w...virt|
|000003c0| 75 61 6c 20 6c 6f 6e 67 | 20 48 69 74 28 50 6f 69 |ual long| Hit(Poi|
|000003d0| 6e 74 26 20 77 68 65 72 | 65 48 69 74 29 09 09 09 |nt& wher|eHit)...|
|000003e0| 09 09 2f 2f 20 64 6f 20 | 68 69 74 20 74 65 73 74 |..// do |hit test|
|000003f0| 69 6e 67 2e 0d 09 09 09 | 09 09 7b 20 72 65 74 75 |ing.....|..{ retu|
|00000400| 72 6e 20 77 4e 6f 48 69 | 74 3b 20 7d 0d 70 72 6f |rn wNoHi|t; }.pro|
|00000410| 74 65 63 74 65 64 3a 0d | 09 57 69 6e 64 6f 77 50 |tected:.|.WindowP|
|00000420| 65 65 6b 20 69 74 73 57 | 69 6e 64 6f 77 3b 09 09 |eek itsW|indow;..|
|00000430| 09 09 09 09 09 09 2f 2f | 20 77 69 6e 64 6f 77 20 |......//| window |
|00000440| 77 65 20 61 72 65 20 6b | 65 65 70 69 6e 67 20 74 |we are k|eeping t|
|00000450| 72 61 63 6b 20 6f 66 2e | 0d 7d 3b 0d 0d 23 65 6e |rack of.|.};..#en|
|00000460| 64 69 66 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |dif.....|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000490| a8 8b 30 2e ff e6 d0 6e | ff e8 d0 6e ff ec 39 40 |..0....n|...n..9@|
|000004a0| 00 38 39 6e ff e6 00 3a | 28 5f 4e 5e 4e 75 00 00 |.89n...:|(_N^Nu..|
|000004b0| 12 57 69 6e 64 6f 77 44 | 65 66 69 6e 69 74 69 6f |.WindowD|efinitio|
|000004c0| 6e 2e 68 74 02 00 00 00 | 54 45 58 54 4d 50 53 20 |n.ht....|TEXTMPS |
|000004d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 c0 00 00 |..TEXTMP|S ......|
|000004e0| 00 00 00 e6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a2 78 bb 86 00 00 | 03 e3 00 00 01 7e 3d 40 |...x....|.....~=@|
|00000500| ff a0 42 6d fd c6 4a 6e | 00 0c 66 00 00 80 42 a7 |..Bm..Jn|..f...B.|
|00000510| 48 79 50 41 43 4b 3f 3c | 00 03 a9 a0 20 5f 28 48 |HyPACK?<|.... _(H|
|00000520| b8 fc 00 00 66 10 3f 3c | fb ff 4e ad 01 42 54 8f |....f.?<|..N..BT.|
|00000530| 70 00 60 00 0a 12 48 6e | ff fc 3f 3c 00 23 3f 3c |p.`...Hn|..?<.#?<|
|00000540| 00 58 a8 80 2d 7c 4f 54 | 4c 4e ff a2 42 ad fe 32 |.X..-|OT|LN..B..2|
|00000550| 2f 2e ff fc 48 6d f4 b4 | 48 6d 04 8a 3f 3c ff ff |/...Hm..|Hm..?<..|
|00000560| 48 6e ff a2 48 6d 04 82 | 48 6e ff b2 3f 3c 00 05 |Hn..Hm..|Hn..?<..|
|00000570| 48 6d 04 7a 4e ad 08 8a | 4a 2e ff b2 66 06 70 02 |Hm.zN...|J...f.p.|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 65 61 72 |...H..Mo|naco.ear|
|00000590| 64 2e 0d 20 2a 2f 0d 0d | 0d 23 69 66 6e 64 65 66 |d.. */..|.#ifndef|
|000005a0| 20 5f 5f 57 49 4e 00 06 | 00 04 00 30 00 08 01 d4 | __WIN..|...0....|
|000005b0| 02 6b 00 30 00 08 01 d4 | 02 6b a3 09 35 2b 00 00 |.k.0....|.k..5+..|
|000005c0| 03 7a 00 00 03 7a 00 00 | 00 00 01 00 00 00 01 00 |.z...z..|........|
|000005d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 25 04 7c |...L...L|...2.%.||
|000005e0| 0c dc 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|000005f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 26 ac 40 00 00 |........|...&.@..|
+--------+-------------------------+-------------------------+--------+--------+